package com.ruibang.glass.produce.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruibang.glass.produce.domain.req.CommonTrendChartReq;
import com.ruibang.glass.produce.domain.req.MaterialParticleReq;
import com.ruibang.glass.produce.domain.resp.MaterialParticleTrendChart;
import com.ruibang.glass.produce.entity.MaterialParticle;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 * 生产-理化-原料粒度 服务类
 * </p>
 *
 * @author songJinKang
 * @since 2024-03-12
 */
public interface MaterialParticleService extends IService<MaterialParticle> {
    IPage<MaterialParticle> pageQuery(MaterialParticleReq materialParticleReq);

    void delete(String id);

    MaterialParticleTrendChart trendChart(CommonTrendChartReq trendChartReq);

    void export(MaterialParticleReq materialParticleReq, HttpServletResponse response);

    void saveInfo(MaterialParticle materialParticle);

    void edit(MaterialParticle materialParticle);
}
